package org.anderground.internal.graphics.impl;

import org.anderground.internal.graphics.abstaractions.AbstractPath;

import android.graphics.Path;

public class AndroidPath implements AbstractPath {

	public static Path cast(org.anderground.core.graphics.Path aPath) {
		return ((AndroidPath) aPath.getDelegate()).getPath();
	}

	private Path path;

	public AndroidPath(Path path) {
		this.path = path;
	}

	public void lineTo(float x, float y) {
		path.lineTo(x, y);
	}

	public void moveTo(float x, float y) {
		path.moveTo(x, y);
	}

	public Path getPath() {
		return path;
	}

}
